<? if ($isLogin) { ?>
	<div class="headerInfo mLeft10">
		<div class="bgall">
			<div class="bleft">
				<div class="content">

					<div class="v7boxLike">
						<a href="<?= url_create('site', 'account', 'products') ?>" title="<?= lang('my_products') ?>" class="v7unOrderheader">
						</a>
					</div>
					<!--	 PROFILE			-->
					<script>
						$(document).ready(function(){
							$('.btProfile').click(function(){
								$(this).children(':first').next().css({display:'block'})
							})
						})
						$(document).mouseup(function(){
							$('.btProfile').children(':first').next().css({display:'none'})
						});
					</script>
					<div  show="0" class="btProfile">
						<a rel="nofollow" href="javascript:void(0)">
							<b class="fl"><?= $user->fullname ?></b>
							<span class="anchor"></span>
							<span class="c"></span>
						</a>
						<div id="0" class="ctrlMenu hidden" style="display: none;">
							<div class="v7arrowMT fixtextRight"></div>
							<div class="v7buidFocus">
								<div class="cusMenu">
									<a rel="nofollow" href="<?= url_create('site', 'account', 'orders') ?>"><span class="icOrder"><?= lang('my_orders') ?></span></a>
									<a rel="nofollow" href="<?= url_create('site', 'account') ?>"><span class="icAccount"><?= lang('account') ?></span></a>
									<a rel="nofollow" href="<?= url_create('site', 'account', 'logout') ?>"><span id="noBoder" class="icOut"><?= lang('logout') ?></span></a>
								</div>
							</div>
						</div>
					</div>
					<div class="c"></div>
				</div>
			</div>
		</div>
	</div>
<? } else { ?>
	<div class="headerInfo regBut mLeft10">
		<div class="bgall">
			<div class="bleft">
				<div class="content">
					<a id="btnRegister" class="v7linkbtn"  href="javascript:void(0)"><?=lang('register')?></a>
				</div>
			</div>
		</div>
	</div>
	<div class="headerInfo">
		<div class="bgall">
			<div class="bleft">
				<div class="content" style="padding: 0 20px">
					<a id="btnLogin" class="v7linkbtn" href="javascript:void(0)"><?= lang('login') ?></a>
					<script>
						$('#btnLogin').click(function(){
							open_popup('formLogin')
						});
						$('#btnRegister').click(function(){
							open_popup('formRegister')
						});
					</script>
				</div>
			</div>
		</div>
	</div>
	<?
}?>